package club.itstudio.IContainer.exception;

public class BaseException extends RuntimeException{
    public int status;
    public String errorMsg;

    public BaseException(int status, String errorMsg) {
        super();
        this.status = status;
        this.errorMsg = errorMsg;
    }

    public BaseException(String errorMsg) {
        super();
        this.status = 400;
        this.errorMsg = errorMsg;
    }
}
